import { Controller } from 'egg';

export default class extends Controller {
    public async getTeacherSchedules() {
        const { ctx, service } = this;
        const teacherIds = ctx.request.body.teacher_ids;

        const result = await service.admin.teacherSchedule.getTeacherSchedules(teacherIds);
        ctx.helper.success(ctx, result);
    }
}
